Platform Explorer / Nuxeo Platform 2023.19

Component org.nuxeo.ecm.core.trash.service.migrator

Resolution Order

96
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.trash.service.migrator" version="1.0">

  <extension target="org.nuxeo.runtime.migration.MigrationService" point="configuration">

    <migration id="trash-storage">
      <description label="migration.trash-storage">Migration of in the trash storage model</description>
      <class>org.nuxeo.ecm.core.trash.TrashedStateMigrator</class>
      <defaultState>property</defaultState>
      <state id="lifecycle">
        <description label="migration.trash-storage.lifecycle">Trashed state stored as deleted lifecycle state</description>
      </state>
      <state id="property">
        <description label="migration.trash-storage.property">Trashed state stored as system property</description>
      </state>

      <step id="lifecycle-to-property" fromState="lifecycle" toState="property">
        <description label="migration.trash-storage.lifecycle-to-property">Migrate trashed state from lifecycle to property</description>
      </step>
    </migration>

  </extension>

</component>